package project3;

public class CarTest {
    public static void main(String[] args) {
        CarShop shop = new CarShop();
        shop.sellCar(new BMWCar());
        shop.sellCar(new ToyotaCar());
        System.out.println("总销售额：" + shop.getMoney());
    }
}
